Add support for reading port from config file