Moved build system to use Gradle