First Commit for graphite integration. Not fully working yet