cpm environment options

Options to modify the environments are already in the cpm program but they are not implemented: There are more options listed in a TODO but they are for some other time

Edited by Mart Lubbers