Added Stack definition and tests.

Signed-off-by: ericlobdell <eric@ericlobdell.io>