Add server code for responding to pings and queries and add initial web server code