add base.ts, begin of the generation