shifted the session creation and Base declaration to the init file of
the package