How would you feel about some day moving the template out as a resource or something? It seems a little cluttered here. suggested by @mmlinford