added game class and basic game initiation logic