Implement command registration. failing test
Fix command module test