Move system wide resources handling into separate class