added rendering of icons for classes

resolve #26