Changed build system to Gradle