Refactor class hierarchy of game engine, room and room supervisor.