Moved HTTP.serve() to the end of the file. It was confusing looking at it in the middle of the code.