Completed db restructure. It now uses Flask-SQLAlchemy. There are some initial tests in place to ensure test data is able to be read and relationships are working.