Separates model and routes from app.js