Feature 10 stencils

Completes most of #10. Still necessary to implement r and py contexts for rendering stencils but that will be spawned as two separate issues and dealt with in another branch