add renderer class and some stubs