added index and other templates