allow renderer to be provided
rename renderer to compiler