Copied game code to core.
Core is now an abstract class. With this new system, the main game is in the core. Game code is now compatible with other forms of input.