created TableEntitiesGenerator.py + some modifications