Fixed the code to override default config on a per module basis.
Added log file support. Log rotate is yet to be done.