add loading strategy to zprobe
refactor ctor and dtor into cpp
add example config