[hearthstone] - Refactor api and api docs.