Adding more stubbing for the endpoints to be used
and also adding go routine for polling services.