Lightweight Replication Middleware for Data and Service Components in Dense MANETs