create REST API;updated README

/snapshots/latest
/snapshot/timeline
/snapshot/:id