add sm api , json parser, http and mosquitto