Stack Implementation

This is pretty huge. And awesome

This one is rebased onto master because there were some kinda nasty conflicts with the Env restructuring.