Refine code, add logger class