- added classes and interfaces for validation of data