move port and debug mode into the properties file