made every cviewobjects contructor protected
fiexed the errors it made