Add distributed cache to stratosphere

implement issue #506