Moved table and index create statements to BaseEntityManager from BasePersistentObject