Migration module example for transferring data from Drupal 6 to Drupal 7