Implemented part of main game class