basic views implemented. TODO: revise as_dict emethod for records -- some element_types do not parse well in the dom.