Use contents service

Use new contents service to upload graphics, replacing the separate
websocket server.