starts working on logging module
finished implementation of logging
add testing for logging