move OptsExecutor from package run to framework.run
modify the framework structure
add threshold limit for indexedGraph query