improved validation and assumed value added

1. Beautiful validation
2. Assumed value (placeholder) and during validation if model.Requred is
set
3. Measures pattern generation