Codebase Change

Massive overhaul of game.