Creating main game class