Moved ports and rates to settings