Add commandline parser to server