Added APMProcessor class