Cleaned up game engine main file