added an Iframe class just to handle the urls of the production and test environments - refactored to a class method