removes persistence.py dependency in datamodel.py