added tests, pulled methods out of AsyncLogHandler put it in logging class
Split out init from ilogger