remove boilerplate gen server docs, add type specs, formatting