Creates a maze manager