Added the "Klass" class

Constructs an object from a schema with appropriate fields , including
validation.