Moved newly implemented shadow stack into its own class.