Nulllogger

Implemented a nulllogger and added some basic tests.