Convert to gradle, change license to Apache 2, fix resource loading.