Start using sqlalchemy

the pdf stuff is making queries complicated. if i want to start turning steps into tasks, i'm going to need an orm to keep code clean between all the tasks.