Initial conversion to gradle build