Improve db

#8 @gsathya @ben-jones 
I changed directory structure and split server.py into models and views.
so self.is_vpn is not defined at all if it isn't in kwargs? that is bad design - having vars defined based on runtime. just define all of them to be either None or the value in kwargs
`self.is_vpn = kwargs.get('vpn')`