Added command line option parsing to enable running the app on a different port