Nearly full rewrite, new interface, simpler nutrition model.