Config file validation/creation added

for issue #17