create command structure