Removed build() and made a registerCommand().

Removed the useless build() method as it just calls register(). Also created registerCommand() that allows you to register a command with just the command and the executor.