Working Dropbox v1 code, minus actually keys