move necessary files to thetop directory