Added class definitions for the stack items
Change the stack class to use the items objects