Adding code to manage sensors and server connections.