Sensor unit now is being posted. Some private functions have been created.