Moved all the development and debugging code into the Main class (now mEngine can be used to create games!)