Implement I/O databases

Just a layer on top of standard I/O that provides autosave. :)