Added renderer base class.
Merge branch 'renderer'