added prune.py to prune db entries