Core api

Transition from Dropbox sync-api to REST-api.