Added and implemented view callback, implemented buildContent() method