FileSystem refactoring.
Further FileSystem refactoring.
License header comments.
Merge pull request #24 from dkorolev/master

Refactoring + Licenses.