added a CLI to the program
dylib built against latest whistlepig source
refactored code
Added query program