abstract API layer for chicken-leveldb