- Init database only if data directory exists
- fix bug where it would remove all keys but not the referenced values
- save as xml
- on rename update keys as well , there was a problem with old names resource hanging