storage: add ginputstream based storage prototype.