Added progress bar and documentation