initial commit for app & figshare oauth code