Jamr rebase

Lots of changes to allow JAMR to integrate with and run in a server environment.