user_main.c - all start from user_init
user_esp_platform.c - ESP8266 as a TCP client to connect Espressif Cloud and communicate with the cloud
user_devicefind.c - ESP8266 create UDP listening, so it with response the UDP broadcast "Are You Espressif IOT Smart Device?"
user_webserver.c - ESP8266 create a TCP server, phone can connect to ESP8266 as a TCP client and communicate with it..
user_config.h - define three devices , enable one of them and test
#define PLUG_DEVICE 0
#define LIGHT_DEVICE 1
#define SENSOR_DEVICE 0
There are also some user starter guide on Espressif BBS
http://bbs.espressif.com/viewforum.php?f=21