Dropbox API integration

As discussed, here is the Dropbox API code.