Removed major code redundancy. Added a new file DbxDownloader.java