Added initial game engine code