moved the index to the public folder