turning views into a package