Added logger class, everything compiles