working modules given image test and training data