whoops, merged code used a function I just removed
currently broken, some (but not all) product definition functions moved into objects
completed refactor to object oriented, with minor change to output (now shows all products, even if no listings attached)
still needs comments though...