refactor code, package dashbaord, metricslogparser