Working logger, added unit tests

Added Queue and background worker for logger, added unit tests for
filelogger