Added graphite configuration and data preparation