Add stack class and exceptions