refactor(generator) move the `commonTemplatesPath` to the util object.