rm old stuff
attach view as class to top-level element