Add setTrace and setOpimize support
basic README