removed basic scaling
more logging, explicit POST in http request to module, checking that
attachment type is image/jpeg
changed kmeans algorithm to peaks of histogram algorithm to reduce computation time
removed GET method all together