messages extracted to a module
parameter validations
validator - use option switches in error messages