New log reader

No longer has to be called with a logpipe as stdin. Also moved some of
the paths to config.