add index file to views directory