modify configfile validation
autorequire configfile
Merge pull request #19 from Mayflower/initial_config

Fix initial configuration file validation