Passing port number via command line arguments implementation added