Create a length api which can compare different unit of length and do simple math