Adds pipeline state incompletely.
Sets up the framework of LILY2 pipeline state machine.