Restructured web server a bit, added WebServer struct and made all the stuff members. Now have structure in place for AJAX request handling as well