Nutrient acquisition and waste removal