Added all definition for painter package
Repaired incorrect reference in Painter class