Added many features around cache and POC of getting session