Converted to gradle, removed mothball implementations