Store middleware to get/set and listen changes on path