+ added property type declarations to Database and Model classes
* docstring updates
+ added DatabaseError
* changed ModelError to subclass DatabaseError