added getStops task and modularized httpclient