Add template library