Use a QMap in CommandModel
Add some doc