building up the cached directories. also adding a top level listing to the index.html