Added a dispatcher, which utilizes a secondary thread