Embedding a Middleware for Networked Hardware and Software Objects