Need to completely rewrite how data is dealt with in this system.
Changing everything to integrate an sqlite db and make a relational data model for storing everything.
Controlling this with sqlalchemy.