Shared libraries for daemon and api