Moving intelligence to edge: distributed content storage and computation