Adding the init file
Refactoring progress bar