Contextlog implementation

It's a fabric of classes.