code cleanup; added support for product retrieval
code cleanup