Add build.gradle and update gitignore