Replacing class pickle data storage with models and sqlite database. More to come.