Add unhandled exceptions exception handler
Code refactoring (remove extra spaces)
Fix a bug in the storage manager
Added version to metadata in order to support further versions and to ensure backward compatibility.
Core cleaning (extra-spaces removed)
Fix a bug in the free space computation.

It was possible to have a <0 left size.