xcmd: store the list of regular commands for fast access

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>