changing the platform_client to have a new api-call to /products/get-by-tags

and refactor the main for easier debugging