separate shared utilities to GenUtil.
Rely on passed in package name instead of table for  SessionFactoryGenerator