add version to the config file.

M
Change file organization.
Support different version of config file.

M