Issue #12 - DAGFile class, refactoring, file sizes

* Introduced DAGFile class and switched to it from pair of (string, size).
* Refactored some code: removed unnecesary one and simplified
  GlobalStorageManger
* Handled file sizes in GlobalStorageManager