Convert to gradle build

I got tired of trying to get it to compile, its much easier with the new gradle system.  WIll need to test that the release apk is valid