Separate base UI component in its own class
Extract UI logic from the inquirer.prompt method