Added feature for polling data from rest-service