WiP for painting selection.
Added cache support for the AssociationFactory.
Added log support.