Add RView class to provide basic rendering functions