Remove scoped_session adn use autocommit thread-local sessions