class library: environments can be linked to a document in the IDE