Rest development

Finished up porting from SOAP -> REST; needs testing and maybe some code cleanup.