more functionality

- added KeyValueStorage
- synchronizing various functions (multithreaded support)
- deprecated StoreDatabase