refactor SessionSetting,move object responsibility
inlined private getter in session setting
polished the global setting documents