Added basic directory listing capability
spelling fix
added command line option --nodir to disable directory listing