Added a few examples, as well as support for selectors for templates

Signed-off-by: Rogie King <hug@rog.ie>