Consider only directories in walkdir function
Delete directory from the index when it doesn't exist anymore
Made idx file location pluggable in JayDirectoryIndex init