adjust to new API and refacotr the QuantityFactory
fix test
removes orig files
Merge pull request #30 from otaviojava/adjust_api

Adjust api