Add prototype functions for handling server data and graphs.