Adds Stack class and Fixes Fourfold