refactoring prompt into separate file.
Improving behavior of prompt on a reset.
notifying when a run is done.