not fully working, queue and process mostly converted to classes.  Still has problems though