code clean up
changed from pthread to zactor
removed obsolete includes