implement drupal_alter for top and footer render arrays
add api documentation file