Added support of command class registration
with bonus javadoc deliciousness