Fix require paths for memory lib
Refactor game management into game_manager
Merge from master