Added error logging, using new Logger class.
Added simple cmd flag to log info. Flag: -log
Implemented new Logger.
Added error logging, using new Logger class.