add docstrings to server
document non-generated header files