Added Port-Input as an argument to Main