almost done I will finish it up tomorro. Just have to sort the queue using round robin and implment the main event loop