initial work on generic detail view, some views broken until they are converted