put in the addClass and addTerm templates and urls