stripped down to be REST and jsoN
added comments
get rid of GridFS