Commit title: Change analysis strategy

Description:
    - I change my minb to analyse log line, once regex have been
      detected i will give the log line to a specificate function
according the protocol is used
    - Add few constant in constant.h