add library template