Reafactor to a gradle setup to fix the issue of Earnist being horribly
hard coded for eclipse

Signed-off-by: Anthony Anderson <LordIllyohs@gmail.com>