move scale resource into resources class