Moved some server-based functions to their own header.
Moved some server-based functions to their own header.
Moved some server-based functions to their own header.