Create orm file for entities