Well with the piping, I would assume you'd get the pipe, wrap it in the material and feed it between the two pieces of material and sew them all together. That way you keep the template and the piping should be on the edges as it's supposed to be.
Ah well, we'll have to see how it goes lol. Wont be looking at doing it until the summer as dissertation takes priority unfortunately.