split up class into application part and rendering (base) part