refactor(dropbox) obj -> constructor