Adding path L1 and L2 caches. Added some tests for L2. Need to test L1. Also, need to implement updating cache when network changes