move initializing game to other file