Added validation framework. Implemented IntegerBoxValidator and DoubleBoxValidator.