add Common-Config function. and document enhance