Templates in Chemistry I