unit templates - adding, deleting and editing