made attempt and getting UI to work
fixed bug in command line reading