Revert "Added files for implementing the state stack but have not tested"

This reverts commit 1af1b25e99569afed0197c9abdf67b6b76898ef2.