Constructor public, getInstance refactored, SessionAdapter bugfix