Added Logbook class in an effort to reduce logical complexity.