initial modifications to port PAICE from SOAP to REST