Improve db

#8 @gsathya @ben-jones 
I changed directory structure and split server.py into models and views.
dont know what this means and it doesnt describe the code. remove these comments