initial conversion to gradle