Rename integration to worker
Improve state handeling to support multiple workers