added directory index getter
Merge pull request #20 from zelgerj/master

added directory index getter