added views, scripts and index page