fixed main.cc and part of bottlingPlant