View Manegment update

view class reorganized for better clearity