Corrected the bug of writing too much character of a buffer in
FileConfig.
Fixed exception handling issue in test case.
Added Log class
TODO: Implementation needed. We just need a lightweight log
Corrected a code defect