Changing ContentGen instance to dependency injection in all entities (DataBase, Table and Field)