Fixed database.py so now only has one active db engine (via sqlalchemy). Except, using an encapsulated pysqlite connection for script reading