Added support for compound angles and modified interval code slightly. Added initial code for the new layered layer class (wip) and added a utility pair class for storing pairs of classes (e.g. in collections)