Use a private library instead of rebuilding the same sources multiple times
Adding a wrapper for encryption/decryption of data packets.
Works: - device discovery