bake model generates Table & Entity files; fixed generated table code