getAllResources function

Makes vector of unique resource names