added validator class
added string class
model validation