Added discovery api loader.

@nexus-uw could you please review. Thanks!