Add javadocs to command package