added: painter class