require graphite moved to the top of the carbon class definition, otherwise $graphite::whisper_data_dir reference doesnt work