Feature/write to keychain

Closes #67, hopefully.
Preferred "base" over "basic" :)