Green energy production and waste processing