Changed build system to Gradle and reworked project into Android Studio format