Extracted graph processing code into separate class
Initial implementation of products complete