Started adding sensor configuration function.