the head files of gatewayserver