making game main class