Rewritten daemon with pthreads.

Connecting to netlink bus and receiving messages logics are separated to threads
Commented code