fixes
fixes
refactoring
added comment
added new inbox which is based on multiprocessing.Queue
major refactoring