Refactored: Command execution define by metaprogramming

This commit redefines the way a command implementation defines what it
does.