Split into models and routes and organize server.js