added template files, finished views w/tests