Added command registry knowledge base with singleton type and unit tests