Implemented class CommandRegistry