add index.html and create subdirectories