fixes bug
adds sketch of new renderer architecture