added directory listing. fixes #1