added renderer class for handling all the render window related stuff