Create server.R

Server definitions for distribution tool.