add basic publishing using remoteStorage.shares
fixing merge conflicts