[src] command class and protocol