remove broken command loading from file, make registerCommand() public