Command manager and Connect/disconnect commands