integrate shell and game (still have bugs)