move server config into database.js
move models from server.js to todo.js

rename

asd
move routes to routes.js