Implemented class hierarchy for logs analysis