added the board functionality and some of the game funcitonality