Remove sqlite related db configuration
Create per thread sqlalchemy session and engine
Small refactoring :scream_cat: of db sessions and remove singleton in rpc
Fix getting engine in wsgi app