basic webserver, with image sync and event sending