moved global properties to contstuctor of AssetFactroy