use more explicit error msg.
should panic when failed to parse configuration file.
more debuggable message.
validation refactoring to support validations on forms.