improved class and file structure of custom renderers