fix server according to tutorial
add db config file
set up first model
set up route file