update gitignore and add build.gradle