Added the GameCore class

Added the GameCode class to make future testing easier.