Move bootstrap to index.php
Move routes to init.php in the application module
Revert back to factory methods for instantiation