Convert from SOAP to REST calls for retrieving data from Amaint
 - added Rest.pm to handle Rest interface
 - better error catching
 - Rest service is more resilient