added methods to build/register a command by method name