Implemented view() and supporting view files