now tested with civicrm 4.5 and pushed to github.