Structural configuration and method for environmentally safe waste and biomass processing to increase the efficiency of energy and heat generation