Move index and template to new views directory