incorporate drupal db object into packages