Reshape file structure and add public directory