move index to public folder