Added .gitignore and build.gradle.