server almost done, waiting for message implementation... , also done some major refactoring: long running threads are not managed by the threadpool anymore