Added local key/value store module and refactored api/server.go to match