Major changes

Interface change, added option for HSV thresholding, deployed use of
threads in major calculating points.