observer patern implementet on view object

approve frame first commited.