Integrate terminal with game and layout

Integrated terminal into layout. Moved game to sandbox.