Moved utils into seperate file and added log file option.
Should work for windows now.