Added abstract base game class and moved most BetaGame functionality to it