[commandchar] create commandchar module