Making all data items subclass of dict; convert processing functions to module functions; new queues for each for loop