updates and clean up of the MiniNtuplizer code