Migration to Android Studio and gradle