Remove index.php from URLs.
Move logic out of routes and into controllers.
Ignore cached files.
Reconfigure views to match controller structure.