Implemented configuration file support

Configuration file is created if missing, and CLI params can override
configuration settings.
Implemented main and loggin configuration files support

New 'log' and 'Log' class added to handle logging facility