Added some of the game framework, more soon.
Rest of states managing structure written.
Tested and corrected bugs.
CMakeLists inculuded.