First attempts at moving to a gradle build

Apparently gradle is the new recommended way to build so working on
figuring it out