moves files and updates config