Remove duplication in routing, model, controller
Removed test method