Add index.html template and a json view