Logger implemented!
Fixed file flushing
Forcing using logger namespace
Logger robustness to initialization
Everything is now redirected to logger