default class file generator from templates