Created the ValueOfQuantity interface.

Contributes to #9