Added logging module. It writes to console DEBUG+, to info.log INFO+ and to error.log ERROR+