refactored logic out to make code more clear
Merge pull request #92 from trayo/refactoring_most_items_and_rev

refactored logic out to make code more clear
Merge branch 'master' of github.com:trayo/sales_engine into sanitation_fixes