Simplify the following text for a Grade 7 native English-speaking person.
Original: After construction of the railway line to Gympie , the coastal and river towns , being mostly ports for the early river trade , were bypassed .
Simplified: With the coming of the railway line to Gympie , the coastal towns , which were founded as ports for the early river trade , were bypassed .