Validator patch

Add validator feature
Refactored  the decorator part