adding keyword end at the end of the models that have an error, adding n...

...ew routes