Add list_dir to the hdht
Add listdir tot he db object
add tests for listdir and fix it up no not run forever