added some exceptions and partial implementation of mixer and dispenser