Added Spring + test.
fixed poms.
Added Thresholding + test.