Deployment Architecture for Energy and Resource Efficient Cyber Physical Systems