added build.gradle and tweeks to main activity