Add config.xml file in new dir 'etc' and move application.php to new dir 'application'. Define core routes in application.php.