Initial graphite implementation