Basic framwork of progress bars