How did Ataturk manage to develop new Turkish Republic?