bare bones of the KeyStorage class