added index template and views