Implementation of POO in the game!