implemented command line options name and port