a simple key-value database layer for web game