Added docs for products and cleaned up a bit of code