running cli and command parsing
fixed cli loop