Move ResourcePath from resource.go to resourcemanager.go