adds front-end and links routes and models