cleaned up web server code. Who needs Express? Bah.