Added the ability to configure a log file

Currently everything will be pushed to STDOUT. It should be also possible to configure a seperate logging file!