added gradle build file and jar packaging