moved index to views folder