Little refactor on app.js, config.js and models
Organized in routers, controllers and little refactor on middlewares and core