Implemented proper logging via simplelogger