Spinner tweak
Refactoring SQLAlchemy class to use a custom session. WIP