added Validator class
added Chart class