move index and resources to top dir