Adding the beginning of the EditorController.
Refactoring routes to be more single purpose.