removed ProgressBar class and set it into its own file