Class based code for KVCTC