reorganize project for Android Studio and Gradle