Add Config feature (need to modify code)

- need to uncomment code in Main, KYdb to enable the config feature