Changed the way queue runs

- Removed threading
- Removed queueworker since there is no threading