Updated some config related classes

There will be a converter plugin, to convert all yml files for version
2.