move port variable to config file