Implemented a command prompt UI.