Added command line arguments for working dir and server port