GENERAL FRAME WORK FOR WATER QUALITY MONITORING SYSTEM