implemented text based UI

does not shutdown properly if hosting a file