Moves layer endpoint to its own controller