added cmd line parser to server