Refactor; Added prompter class for increased abstraction