set up pipeline skeleton