heavy refactoring, split game into two files