Code cleaned up. Added configuration file for this module's initial values. Added calibration file, which will be read if there is one already, or will be created a new one with the calibration at start.