Cloud-aware Middleware