Adding charm code and base configuration snippet for Pythia8