add server as module.