add abstract class for entity and variable entity (for dinamic fields)