Cleanup old APIs from server.py.
Now using JSON API.