COOPR-578: Template Extension

Base abstract template / persistence layer / base tests for partial templates.