Added some classes for gameLogic

Added an abstarct rules class and game logic