changing getAllProperties functionality to work with the MemoryModel and ResourcePool