Adding Chip and Stack class.