Improve db

#8 @gsathya @ben-jones 
I changed directory structure and split server.py into models and views.
two options 
1) make all of them required -- just have them send "None" for the non required values
2) make all of them optional -- raise exceptions if you dont find username or password