Added namespacing to database manager and opened up some API