Refactor progress bar using event emitter. Closes #7