Revert "Added ViewContract and contract framework."

This reverts commit fe0173d62fdde005af04fc78ca3619205a85c3d9.