bai template library