Gem init, key/value store support and tests
Remove dedicated cache init param and use option instead