Write a blind persistance module
Fix error handling