extract dropbox into it's own class