added functionality to iterate over stacks and pull all information about the machines in each stack