refactored all db access into DatabaseAccess object (totally untested)
fixed method calls in DatabaseAccess.__init__ and exception in load_mod_list
added docs
fix two problems with db stuff. Add --cache option and documentation for it