rename files, and set up public folder