added game manager. adeed basic event handling and recording