Added routes and model associations.