Development of software for design of environmental systems with specific reference to water supply engineering