Reimplemented very basic logging. Fixed conf files.