Move parsing logic to a new class.
Clear screen before print log.