Adding safe sending functions and optional response functions.
Change the view of the logging process.
Adds recv loop to teh directory handler. Adds also teh subscride functionality to for a file, which starts a file controller if no one are yet started, and subcribe therequesting client to it.
Should add with the previous commit.