Initial put/get implementation. Not tested till yet.