moved common classifierProvider parts to abstract class