Added a model and routes for it.