Add our structures from class to maxent.py and phlearn.py.