A System Architecture for Water Distribution Networks