cleaned up xmlrpc added a wrapper