models and routes refactoring
home route