refactored Logger

started unit testing