setup plumbing to receive data from background service... this is why I fucking hate java