moove index to public folder