refactores everything except merchant_repository
working copy
sanitized
reactors find_revenues and find_items_sold
addition to last commit