Refactored actors and maze into an entity controller