Adding build.gradle and updating .gitignore