RESTful backend (not complete)

Started work on a RESTful backend engine. Still in argument validation
stage. Will complete tomorrow.