remove unused method
organize startup code
move engine startup code to its own class