refactor QuantityFactory
Merge pull request #17 from otaviojava/refactor_quantity_interface

semantic correctness