add list method to list all the method of given object, and that can be run from repl