Prototype for connecting routes with controllers.