Implemented most basic funcitonality for the game