Refactor the code structor for extensibility. Add okcoin getAccountInfo.