Allow custom error messages in validation. Add validation to README
Style cahnges