create a template library