Added discovery api loader.

@nexus-uw could you please review. Thanks!
@nexus-uw nice, I was struggling with such timeouts. I did know how the handle them.

I will fix it. 

Cheers.