Made imports absolute and used apidoc to generate documentation
Fixed a bug in a DB getter
Typos in the DB function SQL file.
Added documentation for the DB functions
Reorganized the source tree and the documentation, and started implementing database access.