Merge pull request #19 from loqi/master

(doc) adds a doc/ directory
(doc) adds initial description of REST endpoints