-Removed unneeded methods
-Javadocs for CodePiece factories