Changed: Moved XML-RPC routines from Main to Plugin
Changed: Cleanup some code in XML-RPC plugin