added views layout and index