moving the files and updating all references on it