add empty index file and public directory