Adds Public controller and refactors routes