initial refactor
Merge pull request #48 from otaviojava/refactor_quantity

initial refactor