Added saving logs into log file, which is configured via Configuration.
Added SIGINT signal handling.