Add missing deps environ
Fix reading specific key to map
Add the means to write to disk