sheets are no longer pointers
small fixes
changed views to use shared pointers