a basic skeleton of using wechat api