integrated template

Resolves #110