Refactored Servlets and JavaScript.
Added calibration data for all pins.