Refactoring logger and implementing PSR-3 compatibility
Replaced all screen output to logging