fixes module
adds setupLogger method