add support to log to DataHub
 refactor code
 make build prefix message method private
Merge pull request #34 from StephenHynes7/master

 add support to log to DataHub