add modules function to server