BS-2675, add javadoc on command related classes