added flush and mdel commands to cli.py to speed up deletions