refactored harplus and added haranalyzer to support json parsing