refactored grid into GridManager, started refactoring RoomManager