Refactor: renderLabyrinth controller. Part 1.