Framework for working with foams and visaulize them