[BUGFIX+UPDATE] Fix on no opening session found + API for getting all tables