add directory plus app and index files