Modified Ultrasonic extension class by adding distance unit options
First draft of the logger.