added a consol user interface.