Logtool

Adds the logtool that was discussed long ago. Only has a few functions so far (cat, extract).