Implemented the image stream and made a better http server