Add filesystem capabilities.
Refactoring logging facilities for a more convenient OOP design.