Tidying the rectangle-definition datatypes.

Just playing really.
Keeping intermediate build files out of src/.