mostly doc

changed the database manager from type class to type interface. allows
for DatabaseManager to not be instantiated BUT for it to be implemented
and correctly used. regenerated java doc