add building blocks for exclusion policy which required a class context object
added doc blocks
taking some arrays out for a walk. Eliminated foreach loops