add example of a tempalte, and a vm that uses a template