Clear C IDF implementation of monitoring system with motion detection and option to view photos on web-server