first cut at drupal db interface