Preliminary work for comments

Adding some functions for integrating Drupal comments