instance eval implementation
define method and singleton class implementation