cleanup renderer class and commented header file