added file for generating directory levels
updated help
returned results are now in JSON format