Next wave of AI for Good: from principles to implementation