added basic pipeline structure.