updated .tt file to create entities
p