Moved logger to shared library, implemented meister socket in slave