Added base and index templates