Split adg-demo into demo and piston