prefer function literal on ApiService
 adding eclipse plugin and making Worker stateful