Fixed badge statuses
Fixed detach IPs
Refactored tasking to be able to be controlled by front end