Improve db

#8 @gsathya @ben-jones 
I changed directory structure and split server.py into models and views.
This is the SQLAlchemy pattern for many-to-many relationships. Basically, SQL doesn't support lists, so this is an abstraction that lets you make lists in SQL