introduce interface WPBImageProcessor and move some classes in appinterface and cms packages