Plans are being drawn to divert the railway around the town center.