included db.class and instatiated namespaced db instance