Add sqlalchemy model

Attempt to not have to write a bunch of SQL and manually update tables.