Try googling to find a block diagram of a vending machine. As for components you will need at least a vandal/thief resistant housing for the booklets, a mechanism for picking one booklet off a pile and presenting it to a customer, and a mechanism for accepting payment from a customer.