Switched ORM to SQLAlchemy from peewee
Call SQL generation before UI.
Added *.db files to gitignore to prevent database uploading.
ORM requires all tables have a primary key, so added one.
Added Session with db binding to __init__.py so as to be accessible throughout the project
Moved session definition to __init__.py
Created SQL Routines file, added routines to add item to history table/attributed links.
Removed some unused imports and replaced import *'s