Building a low cost wifi camera with ESP8266