Update storage API

This patchset contains three patches:
 - First one use a single function call to free all Host storage
- Second one introduces the Flow storage API
- Third one convert Flow tag to this API