Slaving away trying to make a passable REST implementation

Trying to reduce code repetition and KISS
Still more of the same, working on REST API
Tentative first REST function implementation
Merge branch 'master' of github.com:sparks/rter