separated controllers from app.js