added validation factory. added number, string, required validation with highlight feature