Moved dropbox auth out into its own class