A basic implementation of the btsync api