refactor game code, add wip loading from db