More code clean up. Using a map in core to clean up the game-loop
function. Using destructing in game object creation and update functions.