Slug Menu's GAE server code, posted for future reference.