Add server script

Add server script template.
TODO all options and inplementation.