update the API's to avoid deserialization
update how copy of binary to temp dir
update java doc and c doc
add API to set the settings in the runtime