Modular architecture of the motor system