issue #7 refactoring (Application -> CApplication, Painter ->
AbstractScene)