add validation and fixed few bugs
install ValidateConfigModule