Changed RPC dependency to xmlrpclib. Added support for credentials file.