Switched to CouchDB!

Only UI partly implemented so far...
Added untracked files.