Initalization Changes

Moved and changed the main initalization code for the main game and
testing api.