Updated template: added header-files templates
Fixed model generation: $sbc is no more available, use $this->sbc instead.