Added shared kernel, finished gradle plugin