OO framework for image rotator