Added a configuration option for enabling/disabling logs, also all log files are written to subfolder: 'logs'