mod_perl wrapper code for calling morpheus as a web service