renaming DNSAPIFactory to DNSAPI and created Simulate.java to help with real tests