view generator adds views and associated templates. tests pass