Revert "url shorting, dir support"

This reverts commit 5f9b64b0a157ae52dc6f9e5e2e7615068d335090.