set up routes, controller, model and gem file