refs #8491 - Added core REST interfaces in client code. Other refactoring and documentation.