add gradle build script and pom.xml