added a command queue for asynch command processing, start working on chatmodel