Made sender into a its own class/thread