Improving test coverage for power-league/site package.

Extracted interface from templates.Templates to help with testing.