add cd and upload methods, and ProgressBar