HAMA-681: move SmallMLPTrainer out of SmallMultiLayerPerceptron