Selim introduced domestic reforms to strengthen his government. He solicited suggestions throughout the governing institutions. As a basis for change: he created a new treasury, filled in large part from confiscatory punishment leveled at fief holders who had ceased to respect their military obligations, schools were opened, attention was given to printing and to the circulation of Western translations, and young Turks were sent to Europe for further study. The most significant reforms, however, involved the military. The navy was strengthened, and a navigation school was opened. The army commissariat was changed, officer training was improved, the Bosphorus forts were strengthened, the artillery was revitalized, and the new engineering school was reorganized. The major innovation was the founding of a new body of regular troops known as the Nizam-i-Cedid (new regulation), a term also applied to the reforms as a whole. A former Turkish lieutenant in the Russian army formed the first of these new units, uniformed, well disciplined and drilled, in 1792. Other units followed, involving, in some instances, extensive barracks building with related town facilities, such as the mosques and baths of Scutari. Such buildings constitute Selim's major architectural legacy.  Before the reforms, education in the Ottoman Empire had not been a state responsibility but had been provided by the education for Muslims. The first inroads into the system had been made with the creation of naval engineering, military engineering, medical and military science colleges. In this way specialized Western-type training was grafted onto the traditional system to produce specialists for the army. Similar institutions for diplomats and administrators were founded, including the translation bureau and the civil service school the latter was reorganized and eventually became the political science department of the University of Ankara and the major training center for higher civil servants.  The first comprehensive plan for state education was put forward. It provided for a complete system of primary and secondary schools leading to the university level, all under the Ministry of Education. A still more ambitious educational plan, inaugurated in 1869, provided for free and compulsory primary education. Both schemes progressed slowly because of a lack of money, but they provided a framework within which development toward a systematic, secular educational program could take place. There were more than 36,000 Ottoman schools, although the great majority were small, traditional primary schools. The development of the state system was aided by the example of progress among the non-Muslim millet schools, in which the education provided was more modern than in the Ottoman schools included more than 1,800 Greek schools with about 185,000 pupils and some 800 Armenian schools with more than 81,000 pupils. Non-Muslims also used schools provided by foreign missionary groups in the empire

Answer this question "what sort of framework?" by extracting the answer from the text above.
secular educational program could take place.