Feature/write to keychain

Closes #67, hopefully.