Add support for listing directories.
Expose GET parameters in a sane way