add config doc and use Singleton pattern and add PropertyMgr class.