converted main source/test to a gradle build