Adding template manager