server code is separate from main
client code now uses the parsed args