moved index to layout folder