Pulled a bunch of stuff out of ingest.

Added comments to HTTP server.