Refactoring game/editor code into classes. Building up editor UI.