add command line arguements support on Server and Client