Changed arp repository factory so that classes can be plugged in from runtime config.