1. Added option for assigning API url.  2.  Changed way in which metafor xml decoder handles document sets.  3.  Added xml decoder.