Which layer of the cornea is responsible for maintaining corneal clarity and regulates fluid transport through active pumping?