split Stage.h out from Pipeline.h