Set up command infrastructure