Added Class definition and examples