init gold acccounting api
init metrics