Add compatibility with the GameEngine
Adds minimalistic main function