Finishes the PieceCuboid class, closing issue #4
Changed a few bits and pieces around.