Started Stacked State Manager

Needs testing.
in the morning. zZzzz