Added Gradle build file and updated .gitignore.