Moved System.out to Logger (not fully tested)
Implemented more of Logger