#76 Changes to support RESTful API

Resolves #76