Design and Development of Efficient Multipath Routing Protocol in Mobile Ad-hoc and Sensor Networks