Added gamemanger to manage the main engine (outside rendering which happens in a other thread that needs to get moved into a separate gile to clean up main.cpp)