Move worker logic into sequential worker. Closes #14