Moving model RestValidator to the RestModel folder
Encapsulate validator in model