moved pocket worker code into pocket file