Updating storage code:
- Added offset functions
- Fixed error in storage_split
Removing warnings on win32
Merge branch 'update-storage-classes'