Further refactoring of session-manager to session module and boss blueprint