create class at runtime, add ivar, method. including 3 method