Logger added

Need to spread it around to log everything