classes function

Extract information from pim.environment and pim.poset objects