Environmental management system and its applications