set color
added some error checks
added a simple HTTP server