better scan command handling....
start of simple scandb-based server