Including a template

This allows the logic to work together with the template and keep ace
up and running when the template gets torn down and recreated, or
re-rendered for any reason.