Study controller, routes, cleanup