Added javadocs for the command package