adding cli and chat