Adding template and initial class