changes the server side folder structure and files accordingly