add config loader and config data model

TODO:
1. observer for config data update, need to notify SessionManager to
change the max session