moved chat and commands from cli to the ui chat interface