added basic game engine strucuture