add SDIncomingStack class
other files changed to use SDIncomingStack