Refactor notification code to common routine
Refactor image creation code to Color