New format for config files.

Writing of config files now supported
Added package name